package com.hrm.service;

import com.hrm.pojo.DTO.NoticePageDTO;
import com.hrm.pojo.Notice;
import com.hrm.utils.entity.PageResult;

public interface NoticeService {
    PageResult<Notice> pageResult(NoticePageDTO noticePageDTO)throws Exception;

    boolean updateByTitle(Notice notice)throws Exception;

    boolean deleteById(Integer id)throws Exception;

    boolean add(Notice notice)throws Exception;
}
